package com.huazi.www.doctor.hu.entity;

/**
 * 医生开药
 */
public class Medicine {
    private int id;//开药编号
    private int userid;//用户id
    private String username;//患者姓名
    private int medicineid;//药品编号
    private int sum;//数量
    private String time;//开药时间
    private int doctorid;//医生id
    private String type;//医嘱
    private int state;//状态

    public Medicine() {
    }

    public Medicine(int id, int userid, String username, int medicineid, int sum, String time, int doctorid, String type, int state) {
        this.id = id;
        this.userid = userid;
        this.username = username;
        this.medicineid = medicineid;
        this.sum = sum;
        this.time = time;
        this.doctorid = doctorid;
        this.type = type;
        this.state = state;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserid() {
        return userid;
    }

    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public int getMedicineid() {
        return medicineid;
    }

    public void setMedicineid(int medicineid) {
        this.medicineid = medicineid;
    }

    public int getSum() {
        return sum;
    }

    public void setSum(int sum) {
        this.sum = sum;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getDoctorid() {
        return doctorid;
    }

    public void setDoctorid(int doctorid) {
        this.doctorid = doctorid;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
